// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_BPT_DRAW_BLUEPRINT_CHANGES
// * CreateDate    : 2012/3/24 10:22:06
// * Creater       : CodeSmith
// * LastChangeDate: 2012/3/24 10:22:06
// * LastChanger   : 2012/3/24 10:22:06
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class BptDrawBlueprintChangesTable : TableInfo
    {
		public const string C_TableName = "BPT_DRAW_BLUEPRINT_CHANGES";
		
		public const string C_DRAW_CHANGES_ID = "DRAW_CHANGES_ID";
        public const string C_DRAW_CHANGES_CODE = "DRAW_CHANGES_CODE";
		public const string C_PROD_APPLICATION_ITEM_ID = "PROD_APPLICATION_ITEM_ID";
		public const string C_SPONSOR_PERSON = "SPONSOR_PERSON";
		public const string C_SPONSOR_DATE = "SPONSOR_DATE";
		public const string C_RECIVE_PERSON = "RECIVE_PERSON";
		public const string C_RECIVE_DATE = "RECIVE_DATE";
		public const string C_LASTMODIFY_BY = "LASTMODIFY_BY";
		public const string C_LASTMODIFY_DATE = "LASTMODIFY_DATE";
		public const string C_STATUS = "STATUS";
		public const string C_REMARKS = "REMARKS";
        public const string C_PLAN_ORDER_ID = "PLAN_ORDER_ID";
		
		public BptDrawBlueprintChangesTable()
        {
            _tableName = "BPT_DRAW_BLUEPRINT_CHANGES";
        }
		
		protected static BptDrawBlueprintChangesTable _current;
        public static BptDrawBlueprintChangesTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new BptDrawBlueprintChangesTable();

            _current.Add(C_DRAW_CHANGES_ID, new ColumnInfo(C_DRAW_CHANGES_ID,"DrawChangesId", true, typeof(string)));
            _current.Add(C_DRAW_CHANGES_CODE, new ColumnInfo(C_DRAW_CHANGES_CODE, "DrawChangesCode", false, typeof(string)));
            _current.Add(C_PROD_APPLICATION_ITEM_ID, new ColumnInfo(C_PROD_APPLICATION_ITEM_ID,"ProdApplicationItemId", false, typeof(string)));
            _current.Add(C_SPONSOR_PERSON, new ColumnInfo(C_SPONSOR_PERSON,"SponsorPerson", false, typeof(string)));
            _current.Add(C_SPONSOR_DATE, new ColumnInfo(C_SPONSOR_DATE,"SponsorDate", false, typeof(DateTime)));
            _current.Add(C_RECIVE_PERSON, new ColumnInfo(C_RECIVE_PERSON,"RecivePerson", false, typeof(string)));
            _current.Add(C_RECIVE_DATE, new ColumnInfo(C_RECIVE_DATE,"ReciveDate", false, typeof(DateTime)));
            _current.Add(C_LASTMODIFY_BY, new ColumnInfo(C_LASTMODIFY_BY,"LastmodifyBy", false, typeof(string)));
            _current.Add(C_LASTMODIFY_DATE, new ColumnInfo(C_LASTMODIFY_DATE, "LastmodifyDate", false, typeof(DateTime)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
            _current.Add(C_REMARKS, new ColumnInfo(C_REMARKS,"Remarks", false, typeof(string)));
            _current.Add(C_PLAN_ORDER_ID, new ColumnInfo(C_PLAN_ORDER_ID, "ProdOrderId", false, typeof(string)));

			
		}
		
		public ColumnInfo DRAW_CHANGES_ID
        {
            get { return this[C_DRAW_CHANGES_ID]; }
        }

        public ColumnInfo DRAW_CHANGES_CODE
        {
            get { return this[C_DRAW_CHANGES_CODE]; }
        }
		public ColumnInfo PROD_APPLICATION_ITEM_ID
        {
            get { return this[C_PROD_APPLICATION_ITEM_ID]; }
        }

        public ColumnInfo PLAN_ORDER_ID
        {
            get { return this[C_PLAN_ORDER_ID]; }
        }

		public ColumnInfo SPONSOR_PERSON
        {
            get { return this[C_SPONSOR_PERSON]; }
        }
		
		public ColumnInfo SPONSOR_DATE
        {
            get { return this[C_SPONSOR_DATE]; }
        }
		
		public ColumnInfo RECIVE_PERSON
        {
            get { return this[C_RECIVE_PERSON]; }
        }
		
		public ColumnInfo RECIVE_DATE
        {
            get { return this[C_RECIVE_DATE]; }
        }
		
		public ColumnInfo LASTMODIFY_BY
        {
            get { return this[C_LASTMODIFY_BY]; }
        }
		
		public ColumnInfo LASTMODIFY_DATE
        {
            get { return this[C_LASTMODIFY_DATE]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		public ColumnInfo REMARKS
        {
            get { return this[C_REMARKS]; }
        }
		
		
		
	}
}

